﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.继承
{
    /// <summary>
    /// 继承用的父类
    /// （父类/祖类/基础类/超类）
    /// 1:父类不能反向继承子类
    /// 2:
    /// </summary>
    public class BasePerson
    {
        /// <summary>
        /// 名字
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Appearance { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }



    }
}
